const mongoose = require('mongoose')
module.exports = mongoose.model("Car", new mongoose.Schema({
    name: String,
    user: {
        type: mongoose.SchemaTypes.ObjectId,
        ref: 'User'
    } //如果是多对多就用数组
}))